package com.heima.wemedia.controller;

import com.heima.common.threadlocal.UserThreadLocalUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Fuqiang
 */
@RestController
public class WmDemoController {


    @GetMapping("/demo")
    public String demo() {
        return UserThreadLocalUtils.getUserId() + "";
    }
}
